﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public partial class UserBase
    {
        #region RenderList

        public string RenderList_Status
        {
            get
            {
                switch (this.Status)
                {
                    case 1:
                        return "正常";
                    case -1:
                        return "已删除";
                    default:
                        return "-";
                }
            }
        }

        public string RenderList_UserSex
        {
            get
            {
                switch (this.UserSex)
                {
                    case true:
                        return "男";
                    default:
                        return "女";
                }
            }
        }

        #endregion
    }
}
